package com.group02.community.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.group02.community.entity.user.SysUserPost;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserPostMapper extends BaseMapper<SysUserPost> {
    /**
     * 根据id新增用户岗位
     * @param userId
     * @param postIds
     */
    void insertUserPost(long userId, List<Long> postIds);
}
